package com.lvy.hczn.front.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lvy.hczn.front.system.domain.business.AccessManager;
import com.lvy.hczn.front.system.domain.business.MqttRecord;

public interface MqttRecordService extends IService<MqttRecord> {

    /**
     * 记录通讯信息
     *
     * @param boxCode
     * @param topic
     * @param state
     * @param jsonStr
     * @return void
     * @author yw
     * @date 2022-08-06 19:44:39
     */
    public void initMqttRecord(String boxCode, String topic, Integer state, String jsonStr);

    /**
     * @Description 物理删除
     * @Param
     * @Author yw
     * @Date 2024/9/12 10:31
     * @Return
     **/
    int logicDelete(MqttRecord mqttRecord);
}
